<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /fasttmp/mkdist-qt-4.3.5-1211793125/qtopia-core-opensource-src-4.3.5/doc/src/codecs.qdoc -->
<head>
  <title>Qt 4.3: Big5-HKSCS Text Codec</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><h1 align="center">Big5-HKSCS Text Codec<br /><small></small></h1>
<p>The Big5-HKSCS codec provides conversion to and from the Big5-HKSCS encoding.</p>
<p>The codec grew out of the QBig5Codec originally contributed by Ming-Che Chuang &lt;<a href="mailto:mingche@cobra">mingche@cobra</a>.ee.ntu.edu.tw&gt;. James Su &lt;<a href="mailto:suzhe@turbolinux">suzhe@turbolinux</a>.com.cn&gt; &lt;<a href="mailto:suzhe@gnuchina">suzhe@gnuchina</a>.org&gt; and Anthony Fok &lt;<a href="mailto:anthony@thizlinux">anthony@thizlinux</a>.com&gt; &lt;<a href="mailto:foka@debian">foka@debian</a>.org&gt; implemented HKSCS-1999 QBig5hkscsCodec for Qt-2.3&#x2e;x, but it was too late in Qt development schedule to be officially included in the Qt-2.3&#x2e;x series.</p>
<p>Wu Yi &lt;<a href="mailto:wuyi@hancom">wuyi@hancom</a>.com&gt; ported the HKSCS-1999 QBig5hkscsCodec to Qt-3.0&#x2e;1 in March 2002.</p>
<p>With the advent of the new HKSCS-2001 standard, James Su &lt;<a href="mailto:suzhe@turbolinux">suzhe@turbolinux</a>.com.cn&gt; &lt;<a href="mailto:suzhe@gnuchina">suzhe@gnuchina</a>.org&gt; generated the Big5-HKSCS&lt;-&gt;Unicode tables with a very space-efficient algorithm. He generously donated his code to glibc in May 2002. Subsequently, James has generously allowed Anthony Fok to adapt the code for Qt-3.0&#x2e;5&#x2e;</p>
<p>Currently, the Big5-HKSCS tables are generated from the following sources, and with the Euro character added:</p>
<ol type="1">
<li><a href="http://www.microsoft.com/typography/unicode/950.txt">http://www.microsoft.com/typography/unicode/950.txt</a></li>
<li><a href="http://www.info.gov.hk/digital21/chi/hkscs/download/big5-iso.txt">http://www.info.gov.hk/digital21/chi/hkscs/download/big5-iso.txt</a></li>
<li><a href="http://www.info.gov.hk/digital21/chi/hkscs/download/big5cmp.txt">http://www.info.gov.hk/digital21/chi/hkscs/download/big5cmp.txt</a></li>
</ol>
<p>There may be more fine-tuning to the QBig5hkscsCodec to maximize its compatibility with the standard Big5 (2002) mapping as determined by Li18nux Big5 Standard Subgroup. See <a href="http://www.autrijus.org/xml/">http://www.autrijus.org/xml/</a> for the various Big5 CharMapML tables.</p>
<div style="padding: 0.5em; background: #e0e0e0; color: black"><p>Copyright (C) 2000 Ming-Che Chuang <br /> Copyright (C) 2001, 2002 James Su, Turbolinux Inc. <br /> Copyright (C) 2002 WU Yi, HancomLinux Inc. <br /> Copyright (C) 2001, 2002 Anthony Fok, ThizLinux Laboratory Ltd.</p>
<p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>
<ol type="1">
<li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li>
<li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li>
</ol>
<p>THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
</div><p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2008 <a href="trolltech.html">Trolltech</a></td>
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt 4.3.5</div></td>
</tr></table></div></address></body>
</html>
